home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.12.gz / 1994.12 / 000003_hanche@imf.unit.no_Thu Dec 1 18:01:12 1994.msg < prev    next >
Internet Message Format  |  1994-12-30  |  2KB

  1. Received: from pride.imf.unit.no by cs.umb.edu with SMTP id AA29410
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 1 Dec 1994 11:01:29 -0500
  3. Received: by pride.imf.unit.no id AA09435
  4.   (5.65c8/IDA-1.4.4 for tex-k@cs.umb.edu); Thu, 1 Dec 1994 17:01:12 +0100
  5. Date: Thu, 1 Dec 1994 17:01:12 +0100
  6. From: Harald Hanche-Olsen <hanche@imf.unit.no>
  7. Message-Id: <1994-12-01.165247.hanche@pride>
  8. To: martin@orie.cornell.edu
  9. Cc: tex-k@cs.umb.edu
  10. In-Reply-To: <9412011440.AA14672@orie.cornell.edu> (martin@orie.cornell.edu)
  11. Subject: Re: Nested includes in web2c-6.1
  12.  
  13. >>>>> Bill Martin <martin@orie.cornell.edu> writes:
  14.  
  15. %> I get an error message from Latex2e (LaTeX2e <1994/06/01>) that nested
  16. %> \include statements are not allowed.  This does not seem to be prohibited
  17. %> in any Latex or Latex2e manuals I've seen, plus this worked in the
  18. %> previous version of Latex we have.  The program output is below.  Would
  19. %> you care to comment?  Has this been corrected in a later release?
  20.  
  21. If you had looked in the index of Lamport's book (2nd edition of
  22. course), you would have seen
  23.  
  24.   \include, 73, 211
  25.     cannot be nested, 137
  26.     [...]
  27.  
  28. and sure enough, that is what it says on page 137.  Admittedly this
  29. restriction does not seem to be mentioned in the main text on
  30. \include, and I don't see it in the Companion at all.  But given that
  31. it is listed in the book, it must be presumed to be intentional and
  32. not something you can expect to be `corrected'.
  33.  
  34. The excerpt
  35.  
  36. \def\include#1{\relax
  37.   \ifnum\@auxout=\@partaux
  38.     \@latex@error{\string\include\space cannot be nested}\@eha
  39.   \else \@include#1 \fi}
  40.  
  41. from latex.ltx tells the same story.
  42.  
  43. That being said, I believe your question is inappropriate on this list.
  44. Tex-k is for the discussion of a particular implementation of Unix TeX
  45. and related programs, not for general TeX or LaTeX questions.
  46. --
  47. - Harald Hanche-Olsen <hanche@imf.unit.no>
  48.   Dept of Mathematical Sciences
  49.   The Norwegian Institute of Technology
  50.   N-7034 Trondheim, NORWAY